#include "rng.h"


namespace vortex
{
    float RNG::random()
    {
        return static_cast<float>(rand() * 1.0f / RAND_MAX);
    }

    float RNG::random(float min, float max)
    {
        float r = random();
        return min + r * (max - min);
    }
}



